package com.yk.anima.dao;

import com.github.pagehelper.Page;
import com.yk.anima.pojo.ProductsDirds;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ProductsDirdsMapper {
    int deleteByPrimaryKey(Integer pId);

    int insert(ProductsDirds record);

    int insertSelective(ProductsDirds record);

    ProductsDirds selectByPrimaryKey(Integer pId);

    int updateByPrimaryKeySelective(ProductsDirds record);

    int updateByPrimaryKey(ProductsDirds record);

    List<ProductsDirds> findAll();

    Page<ProductsDirds> findByPage(@Param("name") String name);
}